﻿

CREATE PROCEDURE [dbo].[exbug_GenereazaArticoleAlineate]
	@CodUnitate smallint
AS
BEGIN
	SET NOCOUNT ON;
	INSERT INTO  [ArticoleAliniate] SELECT [ArtAl]
      ,[Denumire]
      ,[AAParinte]
      ,[Terminal]
      ,[Titlu]
      ,[Categorii]
      ,[TermDenumire]
      ,[StartDenumire]
      ,[Anexa6]
      ,@CodUnitate
      ,ExecutieCheltuieli
  FROM [ArticoleAliniate] WHERE CodUnitate=0
END